const learningHost = 'http://localhost:3000';

const learningApi = {
	// userAuth
	login: '/v1/login',
  logout: '/v1/logout',
  userInfo: `/v1/auth/user_info`,
}

Object.keys(learningApi).forEach((key, value) => {
	learningApi[key] = learningHost + learningApi[key];
});

export default {
	learningHost,
	...learningApi,
}